﻿{% extends "forum/base.html" %}
{% load customfilters %}

{% block title %}
DjangoPower论坛
{% endblock %}

{% block content %}
<form action="." method="post">

<table class="tablebg" width="100%" cellspacing="1">
    <tr>
        <th colspan="2">登陆djForum</th>
    </tr>
    <tr>
        <td class="row1" width="38%"><b class="genmed">用户名: </b><br /><span class="gensmall">3-20个字符,全站唯一</span></td>
        <td class="row2">{{form.username}}{{form.username.errors}}</td>
    </tr>
    <tr>
        <td class="row1"><b class="genmed">密码: </b><br /><span class="gensmall">6-30个字符</span></td>
        <td class="row2">{{form.password}}{{form.password.errors}}</td>
    </tr>
    <tr>
	<td class="row1">&nbsp;</td>
	<td class="row2"><span class="gensmall"><a href="{% url registration_register %}">快速注册</a></span><span class="gensmall"><a href="{% url auth_reset_password %}">忘记密码</a></span></td>
    </tr>
    
    <tr>
	<td class="cat" colspan="2" align="center">
            <input type="submit" name="login" class="btnmain" value="登陆" tabindex="5" />
            &nbsp;{% if error %}用户名和密码不匹配，请重新输入。{% endif %}
	</td>
    </tr>
</table>

</form>

<br clear="all" />

</div>


{% endblock %}